import React, { Component, PropTypes } from 'react';
import { Breadcrumb, Row, Col, Input, Tabs,Button  } from 'antd';
const TabPane = Tabs.TabPane;
import './ManageAddForm.scss';
import FormDetail from '../AddFormDetail/AddFormDetail';
class ManageAddForm extends Component {

    componentDidMount() {
       
    }

    


    render() {
        return(
            <div className="files-view page">
            <header>
                <div style={{marginLeft:25,marginTop:20}}>
                  <Breadcrumb>
                      <Breadcrumb.Item>磐晟资产</Breadcrumb.Item>
                      <Breadcrumb.Item>主体管理</Breadcrumb.Item>
                      <Breadcrumb.Item>新建主体</Breadcrumb.Item>
                  </Breadcrumb>
                  <div className="page-title">新建主体</div>
                </div>
              </header>
              <div>
              <div
                      style={{
                          backgroundColor: '#eceff3', flex: 1,
                      }}
                  >
                      <Tabs
                          defaultActiveKey="1" type="card"
                          onTabClick={this.handleClickTab}
                          style={{ height: '100%' }}
                      >
                          <TabPane tab="全部" key="1">
                              <FormDetail
                                  tabIndex={1}
                                  onRef={this.onRef}
                              />
                          </TabPane>
                          <TabPane tab="管理公司" key="2">
                              <FormDetail
                                  tabIndex={2}
                                  onRef={this.onRef}
                              />
                          </TabPane>
                          <TabPane tab="合伙企业" key="3">
                          <FormDetail
                                  tabIndex={3}
                                  onRef={this.onRef}
                              />
                          </TabPane>
                          <TabPane tab="契约型基金" key="4">
                          <FormDetail
                                  tabIndex={4}
                                  onRef={this.onRef}
                              />
                          </TabPane>
                      </Tabs>
                  </div>
            </div>
            </div>
        );
    }
}

export default  ManageAddForm;